import Vue from 'vue'
import App from './App.vue'

import 'amfe-flexible'
import Vant from 'vant'
import 'vant/lib/index.css'
Vue.use(Vant)
//引入路由
import router from './router'

import NavType from '@/components/navType'
Vue.component(NavType.name,NavType)
import Top from '@/components/top'
Vue.component(Top.name,Top)
import FooterNav from '@/components/footerNav'
Vue.component(FooterNav.name,FooterNav)
//引入vuex
import store from './store'

import { Icon } from 'vant';
Vue.use(Icon);

import { Lazyload } from 'vant';
Vue.use(Lazyload);

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
